package org.example.diary.entity.dto;

import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysUserDTO {

    /**用户名*/
    @NotEmpty(message = "请输入用户名")
    private String userName;

    /**密码*/
    @NotEmpty(message = "请输入密码")
    private String password;
}